import { Setting } from "@/typings"
import requestWithToken from "@/utils/request"

export const saveSetting = (data: Setting) => {
    return requestWithToken("/setting/save", 'POST', data)
}
export const getSetting = (appId: string) => {
    return requestWithToken("/setting/get", "GET", {appId})
}